import { Module } from '@nestjs/common';
import { DiscussService } from './discuss.service';
import { DiscussController } from './discuss.controller';
import {TypeOrmModule} from "@nestjs/typeorm";
import {DiscussEntity} from "./entities/discuss.entity";

@Module({
  imports:[
    TypeOrmModule.forFeature([DiscussEntity])
  ],
  controllers: [DiscussController],
  providers: [DiscussService]
})
export class DiscussModule {}
